| HsBuildingRooms |
| EntityType | Independent |
| Logical Entity Name | HsBuildingRooms |
| Default Table Name | HsBuildingRooms |
| Logical Only | NO |
| Definition | |
| Note |
| HsBuildingRooms Attributes |
| Attribute/Logical Rolename | Domain | Datatype | NULL | Definition |
HsBuildingRoomsID |
INTEGER | NO | ||
HsBuildingID |
INTEGER | NO | ||
HsBuildingSuitesID |
INTEGER | YES | ||
HsRoomCategoriesID |
INTEGER | NO | ||
| RoomNumber | VARCHAR(20) | YES | ||
| RoomFee | MONEY(19, 4) | NO | ||
SaBillCodeID |
INTEGER | YES | ||
| Gender | CHAR(1) | NO | ||
| Frequency | CHAR(1) | YES | ||
UserID |
INTEGER | NO | ||
| DateAdded | DATETIME | NO | ||
| DateLstMod | DATETIME | NO | ||
| Ts | TIMESTAMP/DATE | NO | ||
| Active | BIT | NO | ||
| AggregateCharge | BIT | NO |
| HsBuildingRooms Keys |
| Key Name | Key Type | Keys |
| HsBuildingRooms_HsBuildingSuitesID_N_N_IDX | Inversion Entry | HsBuildingSuitesID |
| HsBuildingRooms_HsBuildingID_N_N_IDX | Inversion Entry | HsBuildingID, HsRoomCategoriesID |
| PK_HsBuildingRooms_HsBuildingRoomsID | PrimaryKey | HsBuildingRoomsID |
| HsBuildingRooms_UserID_N_N_IDX | Inversion Entry | UserID |
| HsBuildingRooms_SaBillCodeID_N_N_IDX | Inversion Entry | SaBillCodeID |
| HsBuildingRooms Relationships |
| Parent Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype |
| HousingBuilding | Non-Identifying | One To Zero or More | HsBuildingID | NO | |||
| HsBuildingSuites | Non-Identifying | Zero or One to Zero or More | HsBuildingSuitesID | NO | |||
| HsRoomCategories | Non-Identifying | One To Zero or More | HsRoomCategoriesID | NO | |||
| BillingTransactionCode | Non-Identifying | Zero or One to Zero or More | SaBillCodeID | NO | |||
| Staff | Non-Identifying | One To Zero or More | UserID | NO |
| Child Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype |
| HsBuildingRoomsAmenities | Non-Identifying | One To Zero or More | NO | ||||
| HsBuildingRoomsStudents | Non-Identifying | One To Zero or More | NO | ||||
| HousingLease | Non-Identifying | One To Zero or More | NO |
| HsBuildingRooms Check Constraints |
| Check Constraint Name | CheckConstraint |